FEDERAL · 26 U.S.C. · Chapter Subchapter Z—Opportunity Zones
§1400Z–2. Special rules for capital gains invested in opportunity zones
26 U.S.C. § §1400Z–2. Special rules for capital gain
Title26 — Internal Revenue Code
ChapterSubchapter Z—Opportunity Zones
This text of 26 U.S.C. § §1400Z–2. Special rules for capital gain (§1400Z–2. Special rules for capital gains invested in opportunity zones) is published on Counsel Stack Legal Research, covering United States primary law. Counsel Stack provides free access to over 12 million legal documents including statutes, case law, regulations, and constitutions.
Bluebook
26 U.S.C. § §1400Z–2. Special rules for capital gain.
Text
(a)In general
In the case of gain from the sale to, or exchange with, an unrelated person of any property held by the taxpayer, at the election of the taxpayer—
(A)gross income for the taxable year shall not include so much of such gain as does not exceed the aggregate amount invested by the taxpayer in a qualified opportunity fund during the 180-day period beginning on the date of such sale or exchange,
(B)the amount of gain excluded by subparagraph (A) shall be included in gross income as provided by subsection (b), and
(C)subsection (c) shall apply.
No election may be made under paragraph (1)—
(A)with respect to a sale or exchange if an election previously made with respect to such sale or exchange is in effect, or
(B)with respect to any sale or exchange after December 31, 2026.
(
Free access — add to your briefcase to read the full text and ask questions with AI
Related
Source Credit
History
(Added Pub. L. 115–97, title I, §13823(a), Dec. 22, 2017, 131 Stat. 2184; amended Pub. L. 119–21, title VII, §70421(c)(1)–(4), July 4, 2025, 139 Stat. 225, 226.)
Editorial Notes
Amendment of Section
Pub. L. 119–21, title VII, §70421(c)(1)–(3), (5)(A), July 4, 2025, 139 Stat. 225–227, provided that, applicable to amounts invested in qualified opportunity funds after Dec. 31, 2026, this section is amended:
(1) by amending subsection (a)(2) to read as follows:
(2) by amending subsection (b) to read as follows:
(3) in subsection (c), by striking "makes an election under this clause" and all that follows and inserting "makes an election under this subsection, the basis of such investment shall be equal to—
See 2025 Amendment notes below.
Pub. L. 119–21, title VII, §70421(c)(4)(A), (B), (5)(B), July 4, 2025, 139 Stat. 226, 227, provided that, applicable to property acquired after Dec. 31, 2026, subsection (d)(2) of this section is amended:
(1) in subparagraphs (B)(i)(I) and (C)(i), by striking "December 31, 2017," and inserting "the applicable date";
(2) in subparagraph (D)(i)(I), by striking "December 31, 2017" and inserting "the applicable start date (as defined in section 1400Z–1(e)(2)) with respect to the qualified opportunity zone described in subclause (III)"; and
(3) by adding at the end the following new subparagraph:
See 2025 Amendment notes below.
Editorial Notes
Amendments
2025—Subsec. (a)(2). Pub. L. 119–21, §70421(c)(1), amended par. (2) generally. Prior to amendment, text read as follows: "No election may be made under paragraph (1)—
"(A) with respect to a sale or exchange if an election previously made with respect to such sale or exchange is in effect, or
"(B) with respect to any sale or exchange after December 31, 2026."
Subsec. (b). Pub. L. 119–21, §70421(c)(2), amended subsec. (b) generally. Prior to amendment, subsec. (b) related to deferral of gain invested in opportunity zone property.
Subsec. (c). Pub. L. 119–21, §70421(c)(3), substituted "makes an election under this subsection, the basis of such investment shall be equal to—" and pars. (A) and (B) for "makes an election under this clause, the basis of such property shall be equal to the fair market value of such investment on the date that the investment is sold or exchanged."
Subsec. (d)(2)(B)(i)(I), (C)(i). Pub. L. 119–21, §70421(c)(4)(B)(i), substituted "the applicable date" for "December 31, 2017,".
Subsec. (d)(2)(D)(i)(I). Pub. L. 119–21, §70421(c)(4)(A), substituted "the applicable start date (as defined in section 1400Z–1(e)(2)) with respect to the qualified opportunity zone described in subclause (III)" for "December 31, 2017".
Subsec. (d)(2)(D)(ii). Pub. L. 119–21, §70421(c)(4)(C), inserted "(50 percent of such adjusted basis in the case of property in a qualified opportunity zone comprised entirely of a rural area (as defined in subsection (b)(2)(C)(ii))" after "the adjusted basis of such property".
Subsec. (d)(2)(E). Pub. L. 119–21, §70421(c)(4)(B)(ii), added subpar. (E).
Statutory Notes and Related Subsidiaries
Effective Date of 2025 Amendment
Pub. L. 119–21, title VII, §70421(c)(5), July 4, 2025, 139 Stat. 227, provided that:
"(A) In general.—Except as otherwise provided in this paragraph, the amendments made by this subsection [amending this section] shall apply to amounts invested in qualified opportunity funds after December 31, 2026.
"(B) Acquisition of qualified opportunity zone property.—The amendments made by subparagraphs (A) and (B) of paragraph (4) [amending this section] shall apply to property acquired after December 31, 2026.
"(C) Substantial improvement.—The amendment made by paragraph (4)(C) [amending this section] shall take effect on the date of the enactment of this Act [July 4, 2025]."
Effective Date
Section effective on Dec. 22, 2017, see section 13823(d) of Pub. L. 115–97, set out as an Effective Date of 2017 Amendment note under section 1016 of this title.
Pub. L. 119–21, title VII, §70421(c)(1)–(3), (5)(A), July 4, 2025, 139 Stat. 225–227, provided that, applicable to amounts invested in qualified opportunity funds after Dec. 31, 2026, this section is amended:
(1) by amending subsection (a)(2) to read as follows:
(2) by amending subsection (b) to read as follows:
(3) in subsection (c), by striking "makes an election under this clause" and all that follows and inserting "makes an election under this subsection, the basis of such investment shall be equal to—
See 2025 Amendment notes below.
Pub. L. 119–21, title VII, §70421(c)(4)(A), (B), (5)(B), July 4, 2025, 139 Stat. 226, 227, provided that, applicable to property acquired after Dec. 31, 2026, subsection (d)(2) of this section is amended:
(1) in subparagraphs (B)(i)(I) and (C)(i), by striking "December 31, 2017," and inserting "the applicable date";
(2) in subparagraph (D)(i)(I), by striking "December 31, 2017" and inserting "the applicable start date (as defined in section 1400Z–1(e)(2)) with respect to the qualified opportunity zone described in subclause (III)"; and
(3) by adding at the end the following new subparagraph:
See 2025 Amendment notes below.
Editorial Notes
Amendments
2025—Subsec. (a)(2). Pub. L. 119–21, §70421(c)(1), amended par. (2) generally. Prior to amendment, text read as follows: "No election may be made under paragraph (1)—
"(A) with respect to a sale or exchange if an election previously made with respect to such sale or exchange is in effect, or
"(B) with respect to any sale or exchange after December 31, 2026."
Subsec. (b). Pub. L. 119–21, §70421(c)(2), amended subsec. (b) generally. Prior to amendment, subsec. (b) related to deferral of gain invested in opportunity zone property.
Subsec. (c). Pub. L. 119–21, §70421(c)(3), substituted "makes an election under this subsection, the basis of such investment shall be equal to—" and pars. (A) and (B) for "makes an election under this clause, the basis of such property shall be equal to the fair market value of such investment on the date that the investment is sold or exchanged."
Subsec. (d)(2)(B)(i)(I), (C)(i). Pub. L. 119–21, §70421(c)(4)(B)(i), substituted "the applicable date" for "December 31, 2017,".
Subsec. (d)(2)(D)(i)(I). Pub. L. 119–21, §70421(c)(4)(A), substituted "the applicable start date (as defined in section 1400Z–1(e)(2)) with respect to the qualified opportunity zone described in subclause (III)" for "December 31, 2017".
Subsec. (d)(2)(D)(ii). Pub. L. 119–21, §70421(c)(4)(C), inserted "(50 percent of such adjusted basis in the case of property in a qualified opportunity zone comprised entirely of a rural area (as defined in subsection (b)(2)(C)(ii))" after "the adjusted basis of such property".
Subsec. (d)(2)(E). Pub. L. 119–21, §70421(c)(4)(B)(ii), added subpar. (E).
Statutory Notes and Related Subsidiaries
Effective Date of 2025 Amendment
Pub. L. 119–21, title VII, §70421(c)(5), July 4, 2025, 139 Stat. 227, provided that:
"(A) In general.—Except as otherwise provided in this paragraph, the amendments made by this subsection [amending this section] shall apply to amounts invested in qualified opportunity funds after December 31, 2026.
"(B) Acquisition of qualified opportunity zone property.—The amendments made by subparagraphs (A) and (B) of paragraph (4) [amending this section] shall apply to property acquired after December 31, 2026.
"(C) Substantial improvement.—The amendment made by paragraph (4)(C) [amending this section] shall take effect on the date of the enactment of this Act [July 4, 2025]."
Effective Date
Section effective on Dec. 22, 2017, see section 13823(d) of Pub. L. 115–97, set out as an Effective Date of 2017 Amendment note under section 1016 of this title.
Cite This Page — Counsel Stack
Bluebook (online)
26 U.S.C. § §1400Z–2. Special rules for capital gain, Counsel Stack Legal Research, https://law.counselstack.com/usc/26/§1400Z–2. Special rules for capital gain.